import { createRouter, createWebHashHistory, createWebHistory, createMemoryHistory } from "vue-router"

let routes = [
    {
        name: "login",
        path: "/login",
        component: () => import(/*webpackChunkName:'login' */"../pages/login/index.vue")
    }
]

//2.创建路由
const router = createRouter({
    history: createWebHashHistory(""),
    routes
})


//3.导出路由
export default router